﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace xmlBookstore.classLibrary
{
    public class Inventory
    {
        private List<Book> _books= new List<Book>();
        
        public List<Book> Books
        {
            get { return _books; }
        }

        public void AddBook(Book book )
        {
            _books.Add(book);
        }
        public Boolean RemoveBook(Book book)
        {
            return _books.Remove(book);
        }
    }
}
